package k2_oop.p6_relation.demo02;

public class Egg {

    public String color;
    public double price;

    public Egg(String color) {
        this.color = color;
    }

    public void eat(){
        System.out.println("鸡蛋可以有各种做法");
    }

}
